package data

import (
	"context"
	"github.com/go-kratos/kratos/v2/log"
	v1 "sgw-services/api/rate/service/v1"
	"sgw-services/app/rate/service/internal/biz"
)

//var _ biz.RateRepo = (*rateRepo)(nil)

type rateRepo struct {
	data *Data
	log  *log.Helper
}

// NewRateRepo .
func NewRateRepo(data *Data, logger log.Logger) biz.RateRepo {
	return &rateRepo{
		data: data,
		log:  log.NewHelper(logger),
	}
}

func (r *rateRepo) Quote(ctx context.Context, g *v1.HelloRequest) error {
	return nil
}
